home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: AMOS Basic Source Code Archive
(archive/amosSrc).
You can browse this item here: VecRotWireRubber.AMOS
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 4d 4f 53 20 42 61 73 | 69 63 20 76 31 33 34 20 |AMOS Bas|ic v134 |
|00000010| 00 00 11 ea 1f 01 06 52 | 00 36 20 2a 2a 2a 2a 2a |.......R|.6 *****|
|00000020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000040| 20 43 6f 6d 6d 61 6e 64 | 73 20 75 73 65 64 3a 20 | Command|s used: |
|00000050| 00 00 26 01 06 52 00 44 | 20 2a 20 20 20 20 20 20 |..&..R.D| * |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 56 | | * V|
|00000080| 65 63 20 52 6f 74 20 50 | 6f 73 20 20 20 20 20 20 |ec Rot P|os |
|00000090| 20 20 54 75 72 62 6f 20 | 44 72 61 77 00 00 28 01 | Turbo |Draw..(.|
|000000a0| 06 52 00 48 20 2a 20 20 | 20 20 20 20 20 20 20 20 |.R.H * | |
|000000b0| 20 41 6d 63 61 66 20 45 | 78 61 6d 70 6c 65 73 20 | Amcaf E|xamples |
|000000c0| 20 20 20 20 20 20 20 20 | 20 2a 20 56 65 63 20 52 | | * Vec R|
|000000d0| 6f 74 20 41 6e 67 6c 65 | 73 20 20 20 20 20 42 6c |ot Angle|s Bl|
|000000e0| 69 74 74 65 72 20 43 6c | 65 61 72 20 00 00 24 01 |itter Cl|ear ..$.|
|000000f0| 06 52 00 40 20 2a 20 56 | 65 63 74 6f 72 20 52 6f |.R.@ * V|ector Ro|
|00000100| 74 61 74 65 20 57 69 72 | 65 20 2b 20 52 75 62 62 |tate Wir|e + Rubb|
|00000110| 65 72 20 56 31 2e 31 20 | 20 2a 20 56 65 63 20 52 |er V1.1 | * Vec R|
|00000120| 6f 74 20 50 72 65 63 61 | 6c 63 20 20 20 20 3d 51 |ot Preca|lc =Q|
|00000130| 73 69 6e 20 00 00 29 01 | 06 52 00 4a 20 2a 20 20 |sin ..).|.R.J * |
|00000140| 20 20 20 20 57 72 69 74 | 74 65 6e 20 62 79 20 43 | Writ|ten by C|
|00000150| 68 72 69 73 20 48 6f 64 | 67 65 73 20 20 20 20 20 |hris Hod|ges |
|00000160| 20 2a 20 3d 56 65 63 20 | 52 6f 74 20 58 20 20 20 | * =Vec |Rot X |
|00000170| 20 20 20 20 20 20 53 65 | 74 20 52 61 69 6e 20 43 | Se|t Rain C|
|00000180| 6f 6c 6f 75 72 20 00 00 | 1d 01 06 52 00 32 20 2a |olour ..|...R.2 *|
|00000190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001b0| 20 20 20 2a 20 3d 56 65 | 63 20 52 6f 74 20 59 20 | * =Ve|c Rot Y |
|000001c0| 00 00 1d 01 06 52 00 32 | 20 2a 2a 2a 2a 2a 2a 2a |.....R.2| *******|
|000001d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 20 3d |********|****** =|
|000001f0| 56 65 63 20 52 6f 74 20 | 5a 20 00 00 11 01 06 52 |Vec Rot |Z .....R|
|00000200| 00 1a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 00 00 11 01 | | ....|
|00000220| 06 52 00 1a 20 52 65 6d | 6f 76 65 20 74 68 65 20 |.R.. Rem|ove the |
|00000230| 6d 6f 75 73 65 20 70 6f | 69 6e 74 65 72 20 00 00 |mouse po|inter ..|
|00000240| 03 01 1d e0 00 00 23 01 | 06 52 00 3e 20 53 65 74 |......#.|.R.> Set|
|00000250| 75 70 20 61 20 6e 69 63 | 65 20 6c 69 74 74 6c 65 |up a nic|e little|
|00000260| 20 32 20 63 6f 6c 6f 75 | 72 73 20 73 63 72 65 65 | 2 colou|rs scree|
|00000270| 6e 20 77 69 74 68 20 64 | 6f 75 62 6c 65 20 62 75 |n with d|ouble bu|
|00000280| 66 66 65 72 69 6e 67 2e | 20 20 00 00 14 01 09 ea |ffering.| ......|
|00000290| 00 3e 00 00 00 00 00 5c | 00 3e 00 00 01 40 00 5c |.>.....\|.>...@.\|
|000002a0| 00 3e 00 00 01 00 00 5c | 00 3e 00 00 00 02 00 5c |.>.....\|.>.....\|
|000002b0| 0c 90 00 00 11 01 14 46 | 00 54 0d 34 00 54 13 dc |.......F|.T.4.T..|
|000002c0| 00 3e 00 00 00 00 00 54 | 13 d2 00 3e 00 00 00 01 |.>.....T|...>....|
|000002d0| 00 54 0b ae 00 00 0a 01 | 0c fc 00 3e 00 00 00 00 |.T......|...>....|
|000002e0| 00 5c 00 36 00 00 0f ff | 00 00 03 01 01 2c 00 00 |.\.6....|.....,..|
|000002f0| 06 01 0e 2c 00 3e 00 00 | 00 00 00 00 26 01 06 52 |...,.>..|....&..R|
|00000300| 00 44 20 53 65 74 20 75 | 70 20 74 68 65 20 72 61 |.D Set u|p the ra|
|00000310| 69 6e 62 6f 77 2c 20 77 | 68 69 63 68 20 69 73 20 |inbow, w|hich is |
|00000320| 75 73 65 64 20 74 6f 20 | 63 72 65 61 74 65 20 74 |used to |create t|
|00000330| 68 65 20 72 75 62 62 65 | 72 20 6c 69 6e 65 20 65 |he rubbe|r line e|
|00000340| 66 66 65 63 74 2e 00 00 | 17 01 0d 90 00 3e 00 00 |ffect...|.....>..|
|00000350| 00 00 00 5c 00 3e 00 00 | 00 01 00 5c 00 3e 00 00 |...\.>..|...\.>..|
|00000360| 00 80 00 5c 00 26 00 00 | 00 5c 00 26 00 00 00 5c |...\.&..|.\.&...\|
|00000370| 00 26 00 00 00 00 25 01 | 06 52 00 42 20 54 72 69 |.&....%.|.R.B Tri|
|00000380| 63 6b 20 74 6f 20 6d 6f | 64 69 66 79 20 74 68 65 |ck to mo|dify the|
|00000390| 20 73 63 72 6f 6c 6c 20 | 72 65 67 69 73 74 65 72 | scroll |register|
|000003a0| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 61 20 63 6f | instead| of a co|
|000003b0| 6c 6f 75 72 20 72 65 67 | 69 73 74 65 72 2e 00 00 |lour reg|ister...|
|000003c0| 0d 01 00 4e 08 00 13 30 | 00 3e 00 00 00 00 00 5c |...N...0|.>.....\|
|000003d0| ff ca 00 3e 00 00 00 3f | 00 00 11 01 06 52 00 1a |...>...?|.....R..|
|000003e0| 20 46 69 6c 6c 20 69 6e | 20 73 6f 6d 65 20 73 69 | Fill in| some si|
|000003f0| 6e 65 20 76 61 6c 75 65 | 73 2e 00 00 10 01 02 3c |ne value|s......<|
|00000400| 00 00 00 06 00 00 02 00 | 61 00 ff a2 00 3e 00 00 |........|a....>..|
|00000410| 00 00 00 94 00 3e 00 00 | 00 7f 00 00 1c 03 00 06 |.....>..|........|
|00000420| 00 00 02 00 62 00 ff a2 | 00 4e 08 00 11 06 00 74 |....b...|.N.....t|
|00000430| 00 06 00 00 02 00 61 00 | ff e2 00 3e 00 00 00 08 |......a.|...>....|
|00000440| 00 5c 00 3e 00 00 00 07 | 00 7c ff c0 00 3e 00 00 |.\.>....|.|...>..|
|00000450| 00 07 00 00 1b 03 0d f0 | 00 74 00 3e 00 00 00 00 |........|.t.>....|
|00000460| 00 5c 00 06 00 00 02 00 | 61 00 00 7c ff a2 00 06 |.\......|a..|....|
|00000470| 00 00 02 00 62 00 ff c0 | 00 06 00 00 02 00 62 00 |....b...|......b.|
|00000480| ff e2 00 3e 00 00 00 10 | 00 00 03 01 02 46 00 00 |...>....|.....F..|
|00000490| 16 01 06 52 00 24 20 52 | 65 61 64 20 6f 75 74 2c |...R.$ R|ead out,|
|000004a0| 20 68 6f 77 20 6d 61 6e | 79 20 63 6f 6f 72 64 73 | how man|y coords|
|000004b0| 20 61 72 65 20 75 73 65 | 64 2e 00 00 09 01 04 18 | are use|d.......|
|000004c0| 00 06 00 00 06 00 63 6f | 6f 72 64 73 00 00 09 01 |......co|ords....|
|000004d0| 04 0e 00 06 00 00 06 00 | 6e 75 6d 63 6f 00 00 00 |........|numco...|
|000004e0| 25 01 06 52 00 42 20 44 | 69 6d 20 6f 6e 65 20 66 |%..R.B D|im one f|
|000004f0| 69 65 6c 64 20 74 6f 20 | 6b 65 65 70 20 74 68 65 |ield to |keep the|
|00000500| 73 65 20 63 6f 6f 72 64 | 73 2c 20 61 6e 64 20 61 |se coord|s, and a|
|00000510| 20 73 65 63 6f 6e 64 20 | 66 6f 72 20 74 68 65 20 | second |for the |
|00000520| 72 6f 74 61 74 65 64 2e | 00 00 24 01 06 40 00 06 |rotated.|..$..@..|
|00000530| 00 00 02 00 63 6f 00 74 | 00 06 00 00 06 00 6e 75 |....co.t|......nu|
|00000540| 6d 63 6f 00 00 5c 00 3e | 00 00 00 02 00 7c 00 5c |mco..\.>|.....|.\|
|00000550| 00 06 00 00 02 00 72 63 | 00 74 00 06 00 00 06 00 |......rc|.t......|
|00000560| 6e 75 6d 63 6f 00 00 5c | 00 3e 00 00 00 01 00 7c |numco..\|.>.....||
|00000570| 00 00 10 01 06 52 00 18 | 20 4e 6f 77 20 72 65 61 |.....R..| Now rea|
|00000580| 64 20 61 6c 6c 20 63 6f | 6f 72 64 73 20 69 6e 2e |d all co|ords in.|
|00000590| 00 00 13 01 02 3c 00 00 | 00 06 00 00 02 00 61 00 |.....<..|......a.|
|000005a0| ff a2 00 3e 00 00 00 01 | 00 94 00 06 00 00 06 00 |...>....|........|
|000005b0| 6e 75 6d 63 6f 00 00 00 | 2f 03 04 0e 00 06 00 00 |numco...|/.......|
|000005c0| 02 00 63 6f 00 74 00 06 | 00 00 02 00 61 00 00 5c |..co.t..|....a..\|
|000005d0| 00 3e 00 00 00 00 00 7c | 00 5c 00 06 00 00 02 00 |.>.....||.\......|
|000005e0| 63 6f 00 74 00 06 00 00 | 02 00 61 00 00 5c 00 3e |co.t....|..a..\.>|
|000005f0| 00 00 00 01 00 7c 00 5c | 00 06 00 00 02 00 63 6f |.....|.\|......co|
|00000600| 00 74 00 06 00 00 02 00 | 61 00 00 5c 00 3e 00 00 |.t......|a..\.>..|
|00000610| 00 02 00 7c 00 00 03 01 | 02 46 00 00 1f 01 06 52 |...|....|.F.....R|
|00000620| 00 36 20 54 68 65 6e 2c | 20 67 65 74 20 74 68 65 |.6 Then,| get the|
|00000630| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00000640| 20 74 68 65 20 6f 62 6a | 65 63 74 20 63 6f 6e 73 | the obj|ect cons|
|00000650| 69 73 74 73 20 6f 66 2e | 00 00 09 01 04 18 00 06 |ists of.|........|
|00000660| 00 00 06 00 6c 69 6e 65 | 73 00 00 00 09 01 04 0e |....line|s.......|
|00000670| 00 06 00 00 06 00 6e 75 | 6d 6c 69 00 00 00 1f 01 |......nu|mli.....|
|00000680| 06 52 00 36 20 44 69 6d | 20 61 20 66 69 65 6c 64 |.R.6 Dim| a field|
|00000690| 20 74 6f 20 68 6f 6c 64 | 20 74 68 65 20 73 74 61 | to hold| the sta|
|000006a0| 72 74 63 6f 6f 72 64 20 | 61 6e 64 20 74 68 65 20 |rtcoord |and the |
|000006b0| 65 6e 64 63 6f 6f 72 64 | 2e 20 00 00 13 01 06 40 |endcoord|. .....@|
|000006c0| 00 06 00 00 02 00 6c 69 | 00 74 00 06 00 00 06 00 |......li|.t......|
|000006d0| 6e 75 6d 6c 69 00 00 5c | 00 3e 00 00 00 01 00 7c |numli..\|.>.....||
|000006e0| 00 00 0c 01 06 52 00 10 | 20 47 65 74 20 74 68 65 |.....R..| Get the|
|000006f0| 20 64 61 74 61 73 2e 20 | 00 00 13 01 02 3c 00 00 | datas. |.....<..|
|00000700| 00 06 00 00 02 00 61 00 | ff a2 00 3e 00 00 00 01 |......a.|...>....|
|00000710| 00 94 00 06 00 00 06 00 | 6e 75 6d 6c 69 00 00 00 |........|numli...|
|00000720| 20 03 04 0e 00 06 00 00 | 02 00 6c 69 00 74 00 06 | .......|..li.t..|
|00000730| 00 00 02 00 61 00 00 5c | 00 3e 00 00 00 00 00 7c |....a..\|.>.....||
|00000740| 00 5c 00 06 00 00 02 00 | 6c 69 00 74 00 06 00 00 |.\......|li.t....|
|00000750| 02 00 61 00 00 5c 00 3e | 00 00 00 01 00 7c 00 00 |..a..\.>|.....|..|
|00000760| 03 01 02 46 00 00 26 01 | 06 52 00 44 20 53 65 74 |...F..&.|.R.D Set|
|00000770| 20 74 68 65 20 74 68 72 | 65 65 20 61 6e 67 6c 65 | the thr|ee angle|
|00000780| 73 2e 20 52 65 6d 65 6d | 62 65 72 20 74 68 61 74 |s. Remem|ber that|
|00000790| 20 74 68 65 73 65 20 61 | 72 65 20 6e 6f 6e 20 73 | these a|re non s|
|000007a0| 74 61 6e 64 61 72 64 20 | 61 6e 67 6c 65 73 2c 20 |tandard |angles, |
|000007b0| 00 00 18 01 06 52 00 28 | 20 6f 6e 65 20 66 75 6c |.....R.(| one ful|
|000007c0| 6c 20 72 6f 74 61 74 69 | 6f 6e 20 69 73 20 61 74 |l rotati|on is at|
|000007d0| 20 31 30 32 34 2c 20 6e | 6f 74 20 33 36 30 21 20 | 1024, n|ot 360! |
|000007e0| 00 00 1c 01 00 06 00 00 | 02 00 61 78 ff a2 00 3e |........|..ax...>|
|000007f0| 00 00 00 00 00 54 00 06 | 00 00 02 00 61 79 ff a2 |.....T..|....ay..|
|00000800| 00 3e 00 00 02 00 00 54 | 00 06 00 00 02 00 61 7a |.>.....T|......az|
|00000810| ff a2 00 3e 00 00 00 80 | 00 00 17 01 06 52 00 26 |...>....|.....R.&|
|00000820| 20 52 50 20 68 6f 6c 64 | 73 20 74 68 65 20 70 6f | RP hold|s the po|
|00000830| 73 69 74 69 6f 6e 20 6f | 66 20 74 68 65 20 72 61 |sition o|f the ra|
|00000840| 69 6e 62 6f 77 2e 00 00 | 0a 01 00 06 00 00 02 00 |inbow...|........|
|00000850| 72 70 ff a2 00 3e 00 00 | 00 00 00 00 04 01 02 50 |rp...>..|.......P|
|00000860| 00 00 00 00 0d 03 06 52 | 00 12 20 4d 6f 76 65 20 |.......R|.. Move |
|00000870| 74 68 65 20 72 61 69 6e | 62 6f 77 20 00 00 0b 03 |the rain|bow ....|
|00000880| 04 58 00 06 00 00 02 00 | 72 70 00 5c 00 3e 00 00 |.X......|rp.\.>..|
|00000890| 00 01 00 00 1b 03 0d dc | 00 3e 00 00 00 00 00 5c |........|.>.....\|
|000008a0| 00 06 00 00 02 00 72 70 | ff d4 00 3e 00 00 00 80 |......rp|...>....|
|000008b0| 00 5c 0c 06 00 74 ff ca | 00 3e 00 00 00 01 00 7c |.\...t..|.>.....||
|000008c0| 00 5c 00 3e 00 00 01 03 | 00 00 0d 03 06 52 00 12 |.\.>....|.....R..|
|000008d0| 20 43 6c 65 61 72 20 74 | 68 65 20 73 63 72 65 65 | Clear t|he scree|
|000008e0| 6e 2e 00 00 0c 03 00 4e | 08 00 12 1c 00 3e 00 00 |n......N|.....>..|
|000008f0| 00 00 00 5c 00 3e 00 00 | 00 00 00 00 28 03 06 52 |...\.>..|....(..R|
|00000900| 00 48 20 57 68 69 6c 65 | 20 74 68 65 20 62 6c 69 |.H While| the bli|
|00000910| 74 74 65 72 20 69 73 20 | 77 6f 72 6b 69 6e 67 2c |tter is |working,|
|00000920| 20 75 73 65 20 74 68 65 | 20 74 69 6d 65 20 74 6f | use the| time to|
|00000930| 20 63 61 6c 63 75 6c 61 | 74 65 20 74 68 65 20 72 | calcula|te the r|
|00000940| 6f 74 61 74 69 6f 6e 73 | 2e 20 00 00 11 03 06 52 |otations|. .....R|
|00000950| 00 1a 20 4d 6f 76 65 20 | 61 6e 64 20 73 65 74 20 |.. Move |and set |
|00000960| 74 68 65 20 61 6e 67 6c | 65 73 2e 20 00 00 0b 03 |the angl|es. ....|
|00000970| 04 58 00 06 00 00 02 00 | 61 78 00 5c 00 3e 00 00 |.X......|ax.\.>..|
|00000980| 00 05 00 00 0b 03 04 58 | 00 06 00 00 02 00 61 79 |.......X|......ay|
|00000990| 00 5c 00 3e 00 00 00 08 | 00 00 0b 03 04 58 00 06 |.\.>....|.....X..|
|000009a0| 00 00 02 00 61 7a 00 5c | 00 3e 00 00 00 09 00 00 |....az.\|.>......|
|000009b0| 13 03 00 4e 08 00 11 38 | 00 06 00 00 02 00 61 78 |...N...8|......ax|
|000009c0| 00 5c 00 06 00 00 02 00 | 61 79 00 5c 00 06 00 00 |.\......|ay.\....|
|000009d0| 02 00 61 7a 00 00 28 03 | 06 52 00 48 20 43 61 6c |..az..(.|.R.H Cal|
|000009e0| 63 75 6c 61 74 65 20 74 | 68 65 20 64 69 73 74 61 |culate t|he dista|
|000009f0| 6e 63 65 73 20 62 79 20 | 75 73 69 6e 67 20 61 20 |nces by |using a |
|00000a00| 73 69 6e 65 2d 66 75 6e | 63 74 69 6f 6e 20 61 6e |sine-fun|ction an|
|00000a10| 64 20 74 68 65 20 74 68 | 72 65 65 20 61 6e 67 6c |d the th|ree angl|
|00000a20| 65 73 2e 20 00 00 15 03 | 00 06 00 00 04 00 70 6f |es. ....|......po|
|00000a30| 73 78 ff a2 00 4e 08 00 | 11 06 00 74 00 06 00 00 |sx...N..|...t....|
|00000a40| 02 00 61 78 00 5c 00 3e | 00 00 01 2c 00 7c 00 00 |..ax.\.>|...,.|..|
|00000a50| 15 03 00 06 00 00 04 00 | 70 6f 73 79 ff a2 00 4e |........|posy...N|
|00000a60| 08 00 11 06 00 74 00 06 | 00 00 02 00 61 79 00 5c |.....t..|....ay.\|
|00000a70| 00 3e 00 00 01 2c 00 7c | 00 00 19 03 00 06 00 00 |.>...,.||........|
|00000a80| 04 00 70 6f 73 7a ff a2 | 00 4e 08 00 11 06 00 74 |..posz..|.N.....t|
|00000a90| 00 06 00 00 02 00 61 7a | 00 5c 00 3e 00 00 00 fa |......az|.\.>....|
|00000aa0| 00 7c ff c0 00 3e 00 00 | 03 e8 00 00 11 03 06 52 |.|...>..|.......R|
|00000ab0| 00 1a 20 53 65 74 20 74 | 68 65 20 63 61 6d 65 72 |.. Set t|he camer|
|00000ac0| 61 20 70 6f 73 69 74 69 | 6f 6e 73 2e 00 00 16 03 |a positi|ons.....|
|00000ad0| 00 4e 08 00 11 22 00 06 | 00 00 04 00 70 6f 73 78 |.N..."..|....posx|
|00000ae0| 00 5c 00 06 00 00 04 00 | 70 6f 73 79 00 5c 00 06 |.\......|posy.\..|
|00000af0| 00 00 04 00 70 6f 73 7a | 00 00 17 03 06 52 00 26 |....posz|.....R.&|
|00000b00| 20 4e 6f 77 20 69 74 27 | 73 20 74 69 6d 65 20 74 | Now it'|s time t|
|00000b10| 6f 20 63 6f 6d 70 75 74 | 65 20 74 68 65 20 6d 61 |o comput|e the ma|
|00000b20| 74 72 69 78 2e 20 00 00 | 05 03 00 4e 08 00 11 52 |trix. ..|...N...R|
|00000b30| 00 00 1d 03 06 52 00 32 | 20 53 6f 20 6c 65 74 27 |.....R.2| So let'|
|00000b40| 73 20 72 6f 74 61 74 65 | 20 61 6c 6c 20 63 6f 6f |s rotate| all coo|
|00000b50| 72 64 69 6e 61 74 65 73 | 20 6f 66 20 74 68 65 20 |rdinates| of the |
|00000b60| 66 69 65 6c 64 20 43 4f | 28 29 00 00 13 03 02 3c |field CO|().....<|
|00000b70| 00 00 00 06 00 00 02 00 | 61 00 ff a2 00 3e 00 00 |........|a....>..|
|00000b80| 00 01 00 94 00 06 00 00 | 06 00 6e 75 6d 63 6f 00 |........|..numco.|
|00000b90| 00 00 27 05 06 52 00 46 | 20 4e 6f 74 65 3a 20 59 |..'..R.F| Note: Y|
|00000ba0| 6f 75 20 6f 6e 6c 79 20 | 68 61 76 65 20 74 6f 20 |ou only |have to |
|00000bb0| 75 73 65 20 74 68 65 20 | 76 65 63 20 72 6f 74 20 |use the |vec rot |
|00000bc0| 66 75 6e 63 74 69 6f 6e | 20 77 69 74 68 20 70 61 |function| with pa|
|00000bd0| 72 61 6d 65 74 65 72 73 | 20 6f 6e 63 65 2e 00 00 |rameters| once...|
|00000be0| 46 05 00 06 00 00 02 00 | 72 63 00 74 00 06 00 00 |F.......|rc.t....|
|00000bf0| 02 00 61 00 00 5c 00 3e | 00 00 00 00 00 7c ff a2 |..a..\.>|.....|..|
|00000c00| 00 4e 08 00 11 68 00 74 | 00 06 00 00 02 00 63 6f |.N...h.t|......co|
|00000c10| 00 74 00 06 00 00 02 00 | 61 00 00 5c 00 3e 00 00 |.t......|a..\.>..|
|00000c20| 00 00 00 7c 00 5c 00 06 | 00 00 02 00 63 6f 00 74 |...|.\..|....co.t|
|00000c30| 00 06 00 00 02 00 61 00 | 00 5c 00 3e 00 00 00 01 |......a.|.\.>....|
|00000c40| 00 7c 00 5c 00 06 00 00 | 02 00 63 6f 00 74 00 06 |.|.\....|..co.t..|
|00000c50| 00 00 02 00 61 00 00 5c | 00 3e 00 00 00 02 00 7c |....a..\|.>.....||
|00000c60| 00 7c ff c0 00 3e 00 00 | 00 a0 00 00 18 05 00 06 |.|...>..|........|
|00000c70| 00 00 02 00 72 63 00 74 | 00 06 00 00 02 00 61 00 |....rc.t|......a.|
|00000c80| 00 5c 00 3e 00 00 00 01 | 00 7c ff a2 00 4e 08 00 |.\.>....|.|...N..|
|00000c90| 11 84 ff c0 00 3e 00 00 | 00 80 00 00 03 03 02 46 |.....>..|.......F|
|00000ca0| 00 00 1d 03 06 52 00 32 | 20 49 74 27 73 20 74 69 |.....R.2| It's ti|
|00000cb0| 6d 65 20 74 6f 20 66 69 | 6e 61 6c 6c 79 20 67 65 |me to fi|nally ge|
|00000cc0| 74 20 74 68 65 20 6c 69 | 6e 65 73 20 74 6f 20 74 |t the li|nes to t|
|00000cd0| 68 65 20 73 63 72 65 65 | 6e 21 00 00 13 03 02 3c |he scree|n!.....<|
|00000ce0| 00 00 00 06 00 00 02 00 | 61 00 ff a2 00 3e 00 00 |........|a....>..|
|00000cf0| 00 01 00 94 00 06 00 00 | 06 00 6e 75 6d 6c 69 00 |........|..numli.|
|00000d00| 00 00 12 05 06 52 00 1c | 20 53 74 61 72 74 69 6e |.....R..| Startin|
|00000d10| 67 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 20 70 61 |g coordi|nates pa|
|00000d20| 69 72 2e 20 00 00 15 05 | 00 06 00 00 02 00 63 31 |ir. ....|......c1|
|00000d30| ff a2 00 06 00 00 02 00 | 6c 69 00 74 00 06 00 00 |........|li.t....|
|00000d40| 02 00 61 00 00 5c 00 3e | 00 00 00 00 00 7c 00 00 |..a..\.>|.....|..|
|00000d50| 11 05 06 52 00 1a 20 45 | 6e 64 69 6e 67 20 63 6f |...R.. E|nding co|
|00000d60| 6f 72 64 69 6e 61 74 65 | 73 20 70 61 69 72 2e 20 |ordinate|s pair. |
|00000d70| 00 00 15 05 00 06 00 00 | 02 00 63 32 ff a2 00 06 |........|..c2....|
|00000d80| 00 00 02 00 6c 69 00 74 | 00 06 00 00 02 00 61 00 |....li.t|......a.|
|00000d90| 00 5c 00 3e 00 00 00 01 | 00 7c 00 00 12 05 06 52 |.\.>....|.|.....R|
|00000da0| 00 1c 20 47 65 74 20 74 | 68 65 20 72 6f 74 61 74 |.. Get t|he rotat|
|00000db0| 65 64 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 00 00 |ed coord|inates..|
|00000dc0| 29 05 00 06 00 00 02 00 | 78 31 ff a2 00 06 00 00 |).......|x1......|
|00000dd0| 02 00 72 63 00 74 00 06 | 00 00 02 00 63 31 00 5c |..rc.t..|....c1.\|
|00000de0| 00 3e 00 00 00 00 00 7c | 00 54 00 06 00 00 02 00 |.>.....||.T......|
|00000df0| 79 31 ff a2 00 06 00 00 | 02 00 72 63 00 74 00 06 |y1......|..rc.t..|
|00000e00| 00 00 02 00 63 31 00 5c | 00 3e 00 00 00 01 00 7c |....c1.\|.>.....||
|00000e10| 00 00 29 05 00 06 00 00 | 02 00 78 32 ff a2 00 06 |..).....|..x2....|
|00000e20| 00 00 02 00 72 63 00 74 | 00 06 00 00 02 00 63 32 |....rc.t|......c2|
|00000e30| 00 5c 00 3e 00 00 00 00 | 00 7c 00 54 00 06 00 00 |.\.>....|.|.T....|
|00000e40| 02 00 79 32 ff a2 00 06 | 00 00 02 00 72 63 00 74 |..y2....|....rc.t|
|00000e50| 00 06 00 00 02 00 63 32 | 00 5c 00 3e 00 00 00 01 |......c2|.\.>....|
|00000e60| 00 7c 00 00 1c 05 00 4e | 08 00 10 16 00 06 00 00 |.|.....N|........|
|00000e70| 02 00 78 31 00 5c 00 06 | 00 00 02 00 79 31 00 94 |..x1.\..|....y1..|
|00000e80| 00 06 00 00 02 00 78 32 | 00 5c 00 06 00 00 02 00 |......x2|.\......|
|00000e90| 79 32 00 5c 00 3e 00 00 | 00 01 00 00 03 03 02 46 |y2.\.>..|.......F|
|00000ea0| 00 00 1b 03 06 52 00 2e | 20 53 77 61 70 20 74 68 |.....R..| Swap th|
|00000eb0| 65 20 73 63 72 65 65 6e | 73 20 74 6f 20 62 72 69 |e screen|s to bri|
|00000ec0| 6e 67 20 74 68 65 20 6f | 62 6a 65 63 74 20 74 6f |ng the o|bject to|
|00000ed0| 20 76 69 65 77 2e 00 00 | 03 03 0a e2 00 00 03 03 | view...|........|
|00000ee0| 0c ca 00 00 11 01 02 5c | 00 f2 ff a2 05 52 00 74 |.......\|.....R.t|
|00000ef0| 00 3e 00 00 00 1b 00 7c | ff 4c 1e 32 ff 66 00 3e |.>.....||.L.2.f.>|
|00000f00| 00 00 00 00 00 00 06 01 | 0a 04 00 3e 00 00 00 00 |........|...>....|
|00000f10| 00 00 07 01 0d c2 00 54 | 0b 16 00 54 0c ca 00 00 |.......T|...T....|
|00000f20| 03 01 03 b6 00 00 0a 01 | 06 52 00 0c 20 20 31 5f |........|.R.. 1_|
|00000f30| 5f 5f 5f 5f 32 20 20 20 | 00 00 09 01 06 52 00 0a |____2 |.....R..|
|00000f40| 20 35 2f 5f 5f 5f 5f 2f | 7c 20 00 00 09 01 06 52 | 5/____/|| .....R|
|00000f50| 00 0a 20 7c 20 7c 20 20 | 7c 36 7c 20 00 00 0a 01 |.. | | ||6| ....|
|00000f60| 06 52 00 0c 20 7c 34 7c | 5f 5f 7c 5f 7c 33 20 20 |.R.. |4||__|_|3 |
|00000f70| 00 00 08 01 06 52 00 08 | 20 7c 2f 5f 5f 5f 7c 2f |.....R..| |/___|/|
|00000f80| 00 00 08 01 06 52 00 08 | 20 38 20 20 20 20 37 20 |.....R..| 8 7 |
|00000f90| 00 00 08 01 00 0c 00 00 | 06 00 63 6f 6f 72 64 73 |........|..coords|
|00000fa0| 00 00 07 03 04 04 00 00 | 00 3e 00 00 00 08 00 00 |........|.>......|
|00000fb0| 07 01 06 52 00 06 20 43 | 55 42 45 20 00 00 12 03 |...R.. C|UBE ....|
|00000fc0| 04 04 00 00 ff ca 00 3e | 00 00 00 64 00 5c ff ca |.......>|...d.\..|
|00000fd0| 00 3e 00 00 00 64 00 5c | ff ca 00 3e 00 00 00 64 |.>...d.\|...>...d|
|00000fe0| 00 00 11 03 04 04 00 00 | 00 3e 00 00 00 64 00 5c |........|.>...d.\|
|00000ff0| ff ca 00 3e 00 00 00 64 | 00 5c ff ca 00 3e 00 00 |...>...d|.\...>..|
|00001000| 00 64 00 00 10 03 04 04 | 00 00 00 3e 00 00 00 64 |.d......|...>...d|
|00001010| 00 5c ff ca 00 3e 00 00 | 00 64 00 5c 00 3e 00 00 |.\...>..|.d.\.>..|
|00001020| 00 64 00 00 11 03 04 04 | 00 00 ff ca 00 3e 00 00 |.d......|.....>..|
|00001030| 00 64 00 5c ff ca 00 3e | 00 00 00 64 00 5c 00 3e |.d.\...>|...d.\.>|
|00001040| 00 00 00 64 00 00 11 03 | 04 04 00 00 ff ca 00 3e |...d....|.......>|
|00001050| 00 00 00 64 00 5c 00 3e | 00 00 00 64 00 5c ff ca |...d.\.>|...d.\..|
|00001060| 00 3e 00 00 00 64 00 00 | 10 03 04 04 00 00 00 3e |.>...d..|.......>|
|00001070| 00 00 00 64 00 5c 00 3e | 00 00 00 64 00 5c ff ca |...d.\.>|...d.\..|
|00001080| 00 3e 00 00 00 64 00 00 | 0f 03 04 04 00 00 00 3e |.>...d..|.......>|
|00001090| 00 00 00 64 00 5c 00 3e | 00 00 00 64 00 5c 00 3e |...d.\.>|...d.\.>|
|000010a0| 00 00 00 64 00 00 10 03 | 04 04 00 00 ff ca 00 3e |...d....|.......>|
|000010b0| 00 00 00 64 00 5c 00 3e | 00 00 00 64 00 5c 00 3e |...d.\.>|...d.\.>|
|000010c0| 00 00 00 64 00 00 02 00 | 00 00 08 01 00 0c 00 00 |...d....|........|
|000010d0| 06 00 6c 69 6e 65 73 00 | 00 00 07 03 04 04 00 00 |..lines.|........|
|000010e0| 00 3e 00 00 00 0c 00 00 | 07 01 06 52 00 06 20 43 |.>......|...R.. C|
|000010f0| 55 42 45 20 00 00 0b 03 | 04 04 00 00 00 3e 00 00 |UBE ....|.....>..|
|00001100| 00 01 00 5c 00 3e 00 00 | 00 02 00 00 0b 03 04 04 |...\.>..|........|
|00001110| 00 00 00 3e 00 00 00 02 | 00 5c 00 3e 00 00 00 03 |...>....|.\.>....|
|00001120| 00 00 0b 03 04 04 00 00 | 00 3e 00 00 00 03 00 5c |........|.>.....\|
|00001130| 00 3e 00 00 00 04 00 00 | 0b 03 04 04 00 00 00 3e |.>......|.......>|
|00001140| 00 00 00 04 00 5c 00 3e | 00 00 00 01 00 00 0b 03 |.....\.>|........|
|00001150| 04 04 00 00 00 3e 00 00 | 00 05 00 5c 00 3e 00 00 |.....>..|...\.>..|
|00001160| 00 06 00 00 0b 03 04 04 | 00 00 00 3e 00 00 00 06 |........|...>....|
|00001170| 00 5c 00 3e 00 00 00 07 | 00 00 0b 03 04 04 00 00 |.\.>....|........|
|00001180| 00 3e 00 00 00 07 00 5c | 00 3e 00 00 00 08 00 00 |.>.....\|.>......|
|00001190| 0b 03 04 04 00 00 00 3e | 00 00 00 08 00 5c 00 3e |.......>|.....\.>|
|000011a0| 00 00 00 05 00 00 0b 03 | 04 04 00 00 00 3e 00 00 |........|.....>..|
|000011b0| 00 01 00 5c 00 3e 00 00 | 00 05 00 00 0b 03 04 04 |...\.>..|........|
|000011c0| 00 00 00 3e 00 00 00 02 | 00 5c 00 3e 00 00 00 06 |...>....|.\.>....|
|000011d0| 00 00 0b 03 04 04 00 00 | 00 3e 00 00 00 03 00 5c |........|.>.....\|
|000011e0| 00 3e 00 00 00 07 00 00 | 0b 03 04 04 00 00 00 3e |.>......|.......>|
|000011f0| 00 00 00 04 00 5c 00 3e | 00 00 00 08 00 00 41 6d |.....\.>|......Am|
|00001200| 42 73 00 00 | |Bs.. | |
+--------+-------------------------+-------------------------+--------+--------+